package org.chen.concurrent.springbootmybatisconcurrent.response;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class Ret<T> {

    private int code;
    private String msg;
    private T data;

    public Ret() {
    }

    public Ret(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Ret(int code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }


}
